home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / cpcug.zip / RENDIR.DOC < prev    next >
Text File  |  1987-04-20  |  2KB  |  48 lines

  1.           RENDIR (Rename Directory)               John Dickinson
  2.           Command
  3.           Copyright (c) 1986, Ziff-Davis Publishing Co.
  4.           ______________________________________________________
  5.  
  6.           Purpose:  Permits renaming subdirectories directly,
  7.                     without creating a new directory, moving the
  8.                     contents of the old one into it, and then
  9.                     removing the old directory.
  10.  
  11.           Format:   RENDIR [d:][path]oldname[.ext] newname[.ext]
  12.  
  13.           Remarks:  PC-DOS has always provided a REName command
  14.                     for filenames, but not for directories.  A
  15.                     bug in DOS 3.0 permits you to use the
  16.                     immediate mode of BASIC to
  17.  
  18.                          NAME olddir AS newdir
  19.  
  20.                     but this bug has been removed from subsequent
  21.                     DOS versions.  RENDIR.COM permits renaming
  22.                     directories in DOS 3.0 and later.
  23.  
  24.                     While RENDIR allows you to change the name of
  25.                     a directory on another drive than your
  26.                     current one, it does not permit you to
  27.                     transfer a directory to another drive by
  28.                     RENDIRing it.  Thus, for example, if you are
  29.                     on drive C: and have a directory on drive D:
  30.                     named \TAXES, from the C> prompt you can
  31.  
  32.                          RENDIR D:\TAXES \TAXES85
  33.  
  34.                     You cannot, however
  35.  
  36.                          RENDIR D:\TAXES C:\TAXES85
  37.  
  38.                     Furthermore, you should not use RENDIR to try
  39.                     to change the name of the subdirectory you
  40.                     are currently in.
  41.  
  42.                     Notes:
  43.  
  44.                     1.   Unlike RENAME, RENDIR does not support
  45.                          use of the ? and * wildcard characters.
  46.  
  47.                     2.   Requires DOS 3.0 or higher.
  48.